package com.yiyi.credit.manage.sso.service.inner;



import com.yiyi.credit.manage.sso.common.exception.ServiceException;
import com.yiyi.credit.manage.sso.model.entity.SysUserInfo;

import java.util.List;


public interface SysUserInfoService {


    SysUserInfo getSysUserInfoById(SysUserInfo sysUserInfo) throws ServiceException;



    int registerSysUserInfo(SysUserInfo sysUserInfo) throws ServiceException;


    int updateSysUserInfo(SysUserInfo sysUserInfo) throws ServiceException;



    int deleteSysUserInfo(SysUserInfo sysUserInfo) throws ServiceException;


    SysUserInfo getSysUserById(Long id) throws ServiceException;


    List<SysUserInfo> getSysUserBySid(Long sid) throws ServiceException;



    List<SysUserInfo> getSysUserInfoByPhone(String phone) throws ServiceException;



    List<SysUserInfo> getSysInfoByUserId(Long sysUserId) throws ServiceException;


    String getEmailByUsername(String username) throws ServiceException;
}
